//
//  DMAgentManageCell.m
//  DMGME
//
//  Created by ihope99 on 15/9/1.
//  Copyright (c) 2015年 GYP. All rights reserved.
//

#import "DMAgentManageCell.h"

@implementation DMAgentManageCell

- (void)awakeFromNib {
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

        _nameLable = [[UILabel alloc] init];
        _nameLable.frame = CGRectMake(15, 12, 150 ,13);
        _nameLable.backgroundColor = [UIColor clearColor];
        _nameLable.font = [UIFont systemFontOfSize:13];
        _nameLable.textColor = [UIColor grayColor];
        [self.contentView addSubview:_nameLable];
        
        _phoneLable = [[UILabel alloc] init];
        _phoneLable.frame = CGRectMake(15, CGRectGetMaxY(_nameLable.frame)+2, 150 ,13);
        _phoneLable.backgroundColor = [UIColor clearColor];
        _phoneLable.font = [UIFont systemFontOfSize:13];
        _phoneLable.textColor = [UIColor grayColor];
        [self.contentView addSubview:_phoneLable];

        _queLiuBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        _queLiuBtn.frame =CGRectMake(KWidth - 55 - 15, 13, 55, 22);
        _queLiuBtn.layer.borderWidth = 0.8;
        _queLiuBtn.layer.borderColor = [[UIColor grayColor] CGColor];
        [self.contentView addSubview:_queLiuBtn];
        
        _cancelBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        _cancelBtn.frame =CGRectMake(KWidth - 55 - 15 - 10 - 55, 13, 55, 22);
        _cancelBtn.layer.borderWidth = 0.8;
        _cancelBtn.layer.borderColor = [[UIColor grayColor] CGColor];
        [self.contentView addSubview:_cancelBtn];
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
